package org.jeecg.modules.flow.callback.delivery.move;

import org.jeecg.common.api.vo.Result;
import org.jeecg.modules.business.transfer.service.IWmsMoveReceiptService;
import org.jeecg.modules.flow.sys.common.BaseCustomBeanRun;
import org.jeecg.modules.flow.sys.entity.dto.BaseFlowDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * 条料调拨因入移库单 配送
 *
 * @author gongwenkai
 * @version 1.0.0
 * @since 2023-11-27
 */
@Component
public class Y103MoveReceiptDeliveryBean<T> extends BaseCustomBeanRun<T> {

    @Autowired
    private IWmsMoveReceiptService wmsMoveReceiptService;

    /**
     * 这个bean 不需要做任何事，等待mds推动节点
     */
    @Override
    public void actureRun() {
        BaseFlowDto baseFlowDto = this.getBaseFlowDto();
        String infoId = baseFlowDto.getInfoId();
        baseFlowDto.setInfoId(infoId);
        baseFlowDto.setResult(Result.OK());
    }
}
